This description is obsolete in Bochs 2.1, since Bochs no longer requires an external font. Now a changeable internal font is used.
In text mode, Bochs requires your X server to have access to the VGA font. If you don't already have it, you must install it. The file is in the source directory, called font/vga.pcf. If the VGA font is not installed properly, you will get an error when you start Bochs: "Could not open vga font".
There are two options; you may install the VGA font in a global place, or in a local directory. You may need to install it locally if you don't have root access.
The commands below show how to copy the VGA font from the source directory into the X windows font directory.
# NOTE1: Make sure your DISPLAY variable points to local machine. # NOTE2: These steps require root privileges. # NOTE3: Your X11 fonts path will vary on different systems. For example: # Solaris 2.x /usr/openwin/lib/X11/fonts # Linux /usr/lib/X11/fonts/ root# cp font/vga.pcf font-path-here/misc root# compress font-path-here/misc/vga.pcf root# mkfontdir font-path-here/misc root# xset fp rehash root# /etc/rc.d/init.d/xfs restart (Restart your X font server) |
The command to restart the X font server is given for Redhat systems, but it will vary between different machines, and might not even be necessary at all. If you cannot figure out how to restart your font server, you can just reboot.
# NOTE1: Make sure your DISPLAY variable points to local machine. # NOTE2: The "xset" command needs to be run for each X session (you may # add it to your ~/.xinitrc ). user-> mkfontdir bochs-YYMMDD/font user-> xset fp+ [full-path]/bochs-YYMMDD/font |